import request from '@/utils/request'

//获取后台管理系统-商城管理-问题反馈列表
export function listIssue(query){
    return request({
        url:'/issue/list',
        method:'get',
        params:query
    })
}
export function createIssue(data){
    return request({
        url:'/issue/create',
        method:'post',
        data
    })
}
//修改问题反馈
export function updateIssue(data){
    return request({
        url:'/issue/update',
        method:'post',
        data
    })
}
//删除问题反馈
export function deleteIssue(data){
    return request({
        url:'/issue/delete',
        method:'post',
        data
    })
}
const uploadPath =process.env.BASE_API+'storage/create'
export {uploadPath}
